import './StoreMg.less';
import { observer } from 'mobx-react';
import Store from './Store'
import StoreXiang from './StoreXiang'
import {Link, Route, Switch} from 'react-router-dom'


const StoreMg = () => {
    return (
        <div className="big-card">
            <div className="card-header">
                <h2>店铺管理</h2>
            </div>
            <div>
                <Switch>
                    <Route exact path='/admin/storemg'><Store/></Route>
                    <Route exact path='/admin/storemg/xq'><StoreXiang/></Route>
                </Switch>
            </div>
        </div>
    );
}

export default observer(StoreMg);